Command line parameters
When launching OutWiker from the command line, you can specify additional parameters. The following describes the parameters supported in this version.
The command line syntax is as follows:
outwiker [--page PAGE] [--help] [--version] [--readonly] [--normal] [--debug] [--disable-plugins] [path]
Here, the square brackets [...] indicate optional parts. Each parameter is described below.
- path — the path to a note tree. When this parameter is specified, OutWiker will immediately open the note tree at the specified location. This can be either the path to the directory containing the __page.opt file at its root or the direct path to that file. For example:
outwiker.exe "C:\temp\samplewiki"
outwiker.exe "C:\temp\samplewiki\__page.opt"
- -r or --readonly — opens the note tree in read-only mode. In this mode, you cannot modify the page text, and the state of the note tree is not saved. This mode is used, for example, when opening the OutWiker help.
- -p or --page. Use this parameter to specify a page ID or a relative path to a page that should be opened immediately after the note tree is loaded. For example:
outwiker.exe --page="page://1640eea0-1bb0-453b-ba4c-07f1c298ce76" "C:\temp\samplewiki"
outwiker.exe --page="Page 1/Page 2/Page 3" "C:\temp\samplewiki"
outwiker.exe -p "Page 1/Page 2/Page 3" "C:\temp\samplewiki"
- --normal — do not minimize the OutWiker main window on startup, even if the settings specify that the program should start minimized to the tray.
- --debug — runs the application in debug mode. In this case, extensive additional information will be added to the outwiker.log file in the configuration directory to help track the application's behavior. Frequent use of this parameter may cause the outwiker.log file to increase in size rapidly. By default (without this parameter), only error messages and warnings are recorded in the log file.
- --disable-plugins — deactivates all installed plugins on startup.
- -h or --help — displays help for the command line parameters.
- -v or --version — displays the OutWiker version number.
See also: